home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Controls
/
Visual Basic Controls.iso
/
vbcontrol
/
polardrw
/
data.z
/
DrawOcxTestView.h
< prev
next >
Wrap
C/C++ Source or Header
|
1999-05-13
|
5KB
|
155 lines
// DrawOcxTestView.h : interface of the CDrawOcxTestView class
//
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INCLUDES()
#include "polardraw.h"
//}}AFX_INCLUDES
#if !defined(AFX_DRAWOCXTESTVIEW_H__53462E11_D25F_11D2_B9D2_008048FD54E6__INCLUDED_)
#define AFX_DRAWOCXTESTVIEW_H__53462E11_D25F_11D2_B9D2_008048FD54E6__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
class CDrawOcxTestView : public CFormView
{
protected: // create from serialization only
CDrawOcxTestView();
DECLARE_DYNCREATE(CDrawOcxTestView)
public:
//{{AFX_DATA(CDrawOcxTestView)
enum { IDD = IDD_DRAWOCXTEST_FORM };
CPOLARDraw m_PolarDraw;
//}}AFX_DATA
// Attributes
public:
CDrawOcxTestDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDrawOcxTestView)
public:
virtual void OnInitialUpdate();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CDrawOcxTestView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
BOOL m_fAutoFit;
CString m_strFileName;
void UpdateTextFormatItems(CCmdUI* pCmdUI);
// Generated message map functions
protected:
//{{AFX_MSG(CDrawOcxTestView)
afx_msg void OnEditCopy();
afx_msg void OnEditCut();
afx_msg void OnEditPaste();
afx_msg void OnEditRedo();
afx_msg void OnEditUndo();
afx_msg void OnErrorReadingFilePolardrawctrl1(LPCTSTR szErrorMsg, long lErrorCode, BOOL FAR* pbIgnore);
afx_msg void OnErrorWritingFilePolardrawctrl1(LPCTSTR szErrorMsg, long lErrorCode, BOOL FAR* pbIgnore);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnSelect();
afx_msg void OnViewGuidelines();
afx_msg void OnUpdateViewGuidelines(CCmdUI* pCmdUI);
afx_msg void OnViewShowgrid();
afx_msg void OnUpdateViewShowgrid(CCmdUI* pCmdUI);
afx_msg void OnViewFittoheight();
afx_msg void OnViewFittopage();
afx_msg void OnViewFittosel();
afx_msg void OnViewFittowidth();
afx_msg void OnViewZoom();
afx_msg void OnArrangeBackward();
afx_msg void OnArrangeForward();
afx_msg void OnArrangeSnaptogrid();
afx_msg void OnArrangeSnaptoguidelines();
afx_msg void OnArrangeTobottom();
afx_msg void OnArrangeTofront();
afx_msg void OnUpdateArrangeSnaptogrid(CCmdUI* pCmdUI);
afx_msg void OnUpdateArrangeSnaptoguidelines(CCmdUI* pCmdUI);
afx_msg void OnViewRulers();
afx_msg void OnUpdateViewRulers(CCmdUI* pCmdUI);
afx_msg void OnViewScrollbars();
afx_msg void OnUpdateViewScrollbars(CCmdUI* pCmdUI);
afx_msg void OnViewSetup();
afx_msg void OnViewCenterpage();
afx_msg void OnRulerClickedPolardrawctrl1(short nWhichRuler, short nButton);
afx_msg void OnScrollBarClickedPolardrawctrl1(short nScrollBar, short nButton);
afx_msg void OnRotate();
afx_msg void OnEditPoints();
afx_msg void OnFormatFillTexture();
afx_msg void OnFormatFillPattern();
afx_msg void OnNewEllipse();
afx_msg void OnNewLine();
afx_msg void OnNewPolygonCurve();
afx_msg void OnNewPolygonFreeform();
afx_msg void OnNewPolygonScribble();
afx_msg void OnNewRectangle();
afx_msg void OnNewTriangle();
afx_msg void OnNewDiamond();
afx_msg void OnNewLeftarrow();
afx_msg void OnNewText();
afx_msg void OnUpdateFormatTextEdittext(CCmdUI* pCmdUI);
afx_msg void OnUpdateFormatTextSetfont(CCmdUI* pCmdUI);
afx_msg void OnFormatFillLens();
afx_msg void OnFormatFillShading();
afx_msg void OnFormatLineArrows();
afx_msg void OnFormatLineStyle();
afx_msg void OnFormatShadowStyle();
afx_msg void OnFilePageSetup();
afx_msg void OnFilePrint();
afx_msg void OnUpdateNewDiamond(CCmdUI* pCmdUI);
afx_msg void OnUpdateNewEllipse(CCmdUI* pCmdUI);
afx_msg void OnUpdateNewLeftarrow(CCmdUI* pCmdUI);
afx_msg void OnUpdateNewLine(CCmdUI* pCmdUI);
afx_msg void OnUpdateNewPolygonCurve(CCmdUI* pCmdUI);
afx_msg void OnUpdateNewPolygonFreeform(CCmdUI* pCmdUI);
afx_msg void OnUpdateNewPolygonScribble(CCmdUI* pCmdUI);
afx_msg void OnUpdateNewRectangle(CCmdUI* pCmdUI);
afx_msg void OnUpdateNewText(CCmdUI* pCmdUI);
afx_msg void OnUpdateNewTriangle(CCmdUI* pCmdUI);
afx_msg void OnFormatFillPicture();
afx_msg void OnMouseDownPolardrawctrl1(short Button, short Shift, long x, long y);
afx_msg void OnEditDelete();
afx_msg void OnEditSelectAll();
afx_msg void OnModifiedPolardrawctrl1();
afx_msg void OnViewAutofit();
afx_msg void OnUpdateViewAutofit(CCmdUI* pCmdUI);
afx_msg void OnFormatTextEdittext();
afx_msg void OnFormatTextSetfont();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
afx_msg void OnUpdateFormatMenuItem(CCmdUI* pCmdUI);
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg LONG OnSaveDocument( WPARAM wParam, LPARAM lParam);
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in DrawOcxTestView.cpp
inline CDrawOcxTestDoc* CDrawOcxTestView::GetDocument()
{ return (CDrawOcxTestDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DRAWOCXTESTVIEW_H__53462E11_D25F_11D2_B9D2_008048FD54E6__INCLUDED_)